package com.example.school.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName address
 */
@TableName(value ="address")
@Data
public class Address implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "address_id",type = IdType.ASSIGN_ID)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long addressId;

    /**
     * 名称
     */
    @TableField(value = "address_name")
    private String addressName;

    /**
     * 经度
     */
    @TableField(value = "address_longitude")
    private String addressLongitude;

    /**
     * 纬度
     */
    @TableField(value = "address_latitude")
    private String addressLatitude;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}